package com.siashan.unipay4j.core.pay;

import com.siashan.unipay4j.core.IBaseEnum;

/**
 * 是否需要分账
 *
 * @author  siashan
 * @version V1.0.1
 **/
public enum ProfitSharing implements IBaseEnum<String> {
    /**
     * 需要分账
     */
    YES("Y", "需要分账"),
    /**
     * 不分账
     */
    NO("N", "不分账"),
    ;
    private String value;
    private String desp;


    ProfitSharing(String value, String desp) {
        this.value = value;
        this.desp = desp;
    }

    @Override
    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    @Override
    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }

}
